package com.zkw.classload;

/**
 * Created by james on 16/2/28.
 */
public class LoadClassErrorDemo {
    public static void main(String[] args) {
        new Thread(){
            @Override
            public void run() {
                try {
                    Thread.sleep(300);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                LoadClassErrorDemoB.getInstance().test2();
            }
        }.start();

        new Thread(){
            @Override
            public void run() {
                try {
                    Thread.sleep(400);
                } catch (InterruptedException e) {
                    e.printStackTrace();
                }
                LoadClassErrorDemoB.getInstance().test2();
            }
        }.start();
    }
}
